package com.xnyzc.lhy.resource.entity.invoice;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
*
* 客户发票明细参数
*
* @author haoyfa
* @since 2019-10-24
*/
@Data
public class InvoiceDetailParam {
    @ApiModelProperty(value = "明细行号")
    private String goodsLineNo;

    @ApiModelProperty(value = "发票行性质.0：正常行 1：折扣行 2：被折扣行")
    private String goodsLineNature;

    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    @ApiModelProperty(value = "自行编码")
    private String goodsExtendCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品税目")
    private String goodsTaxItem;

    @ApiModelProperty(value = "规格型号")
    private String goodsSpecification;

    @ApiModelProperty(value = "计量单位")
    private String goodsUnit;

    @ApiModelProperty(value = "商品数量")
    private String goodsQuantity;

    @ApiModelProperty(value = "商品单价")
    private Double goodsPrice;

    @ApiModelProperty(value = "金额")
    private Double goodsTotalPrice;

    @ApiModelProperty(value = "税额.如果为空，根据金额，税率自动计算出")
    private Double goodsTotalTax;

    @ApiModelProperty(value = "税率")
    private Double goodsTaxRate;

    @ApiModelProperty(value = "折行对应行号")
    private String goodsDiscountLineNo;

    @ApiModelProperty(value = "含税标志.0：不含税 1：含税")
    private String priceTaxMark;

    @ApiModelProperty(value = "增优惠政策类型")
    private String vatSpecialManagement;

    @ApiModelProperty(value = "零税率标.空代表无， 1 出口免税和其他免税优惠政策， 2 不征增值税， 3 普通零税率")
    private String freeTaxMark;

    @ApiModelProperty(value = "是否使用优惠政策.0:未使用，1:使用")
    private String preferentialMark;
}
